package com.opentae.data.mall.examples;

import com.opentae.core.mybatis.SgExample;
import com.opentae.core.mybatis.example.EntityColumn;
import com.opentae.core.mybatis.example.EntityTable;
import com.opentae.core.mybatis.mapperhelper.EntityHelper;
import com.opentae.data.mall.beans.PayWxApply;

import java.util.*;
public class PayWxApplyExample extends SgExample<PayWxApplyExample.Criteria> {
    public static final Class<PayWxApply> beanClass = PayWxApply.class;
    public static final EntityTable entityTable = EntityHelper.getEntityTable(beanClass);
    public static EntityColumn applyId;
    public static EntityColumn money;
    public static EntityColumn tradeNo;
    public static EntityColumn wxNo;
    public static EntityColumn realPayMoney;
    public static EntityColumn payUrl;
    public static EntityColumn applyTime;
    public static EntityColumn userId;
    public static EntityColumn errReason;
    public static EntityColumn status;
    static {
        Set<EntityColumn> columns = entityTable.getEntityClassColumns();
        Map<String, EntityColumn> listMap = new HashMap<>();
        for (EntityColumn column : columns) {
            listMap.put(column.getProperty(), column);
        }
        applyId = listMap.get("applyId");
        money = listMap.get("money");
        tradeNo = listMap.get("tradeNo");
        wxNo = listMap.get("wxNo");
        realPayMoney = listMap.get("realPayMoney");
        payUrl = listMap.get("payUrl");
        applyTime = listMap.get("applyTime");
        userId = listMap.get("userId");
        errReason = listMap.get("errReason");
        status = listMap.get("status");
        }

    public PayWxApplyExample() {
        this.setTableAlias(entityTable.getName());
    }

    @Override
    public EntityTable getEntityTable() {
        return entityTable;
    }

    @Override
    protected PayWxApplyExample.Criteria createCriteriaInternal() {
        return new PayWxApplyExample.Criteria(this);
    }

    public static class Criteria extends SgExample.GeneratedCriteria<Criteria> {
        protected Criteria(SgExample example) {
            super(example);
        }

        public PayWxApplyExample.Criteria andApplyIdIsNull() {
            return isNull(applyId);
        }

        public PayWxApplyExample.Criteria andApplyIdIsNotNull() {
            return isNotNull(applyId);
        }

        public PayWxApplyExample.Criteria andApplyIdEqualTo(Long value) {
            return equalTo(applyId, value);
        }

        public PayWxApplyExample.Criteria andApplyIdNotEqualTo(Long value) {
            return notEqualTo(applyId, value);
        }

        public PayWxApplyExample.Criteria andApplyIdGreaterThan(Long value) {
            return greaterThan(applyId, value);
        }

        public PayWxApplyExample.Criteria andApplyIdGreaterThanOrEqualTo(Long value) {
            return greaterThanOrEqualTo(applyId, value);
        }

        public PayWxApplyExample.Criteria andApplyIdLessThan(Long value) {
            return lessThan(applyId, value);
        }

        public PayWxApplyExample.Criteria andApplyIdLessThanOrEqualTo(Long value) {
            return lessThanOrEqualTo(applyId, value);
        }

        public PayWxApplyExample.Criteria andApplyIdIn(List<Long> values) {
            return in(applyId, values);
        }

        public PayWxApplyExample.Criteria andApplyIdNotIn(List<Long> values) {
            return notIn(applyId, values);
        }

        public PayWxApplyExample.Criteria andApplyIdBetween(Long value1, Long value2) {
            return between(applyId, value1, value2);
        }

        public PayWxApplyExample.Criteria andApplyIdNotBetween(Long value1, Long value2) {
            return notBetween(applyId, value1, value2);
        }
        public PayWxApplyExample.Criteria andMoneyIsNull() {
            return isNull(money);
        }

        public PayWxApplyExample.Criteria andMoneyIsNotNull() {
            return isNotNull(money);
        }

        public PayWxApplyExample.Criteria andMoneyEqualTo(String value) {
            return equalTo(money, value);
        }

        public PayWxApplyExample.Criteria andMoneyNotEqualTo(String value) {
            return notEqualTo(money, value);
        }

        public PayWxApplyExample.Criteria andMoneyGreaterThan(String value) {
            return greaterThan(money, value);
        }

        public PayWxApplyExample.Criteria andMoneyGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(money, value);
        }

        public PayWxApplyExample.Criteria andMoneyLessThan(String value) {
            return lessThan(money, value);
        }

        public PayWxApplyExample.Criteria andMoneyLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(money, value);
        }

        public PayWxApplyExample.Criteria andMoneyLike(String value) {
            return like(money, value);
        }

        public PayWxApplyExample.Criteria andMoneyNotLike(String value) {
            return notLike(money, value);
        }

        public PayWxApplyExample.Criteria andMoneyIn(List<String> values) {
            return in(money, values);
        }

        public PayWxApplyExample.Criteria andMoneyNotIn(List<String> values) {
            return notIn(money, values);
        }

        public PayWxApplyExample.Criteria andMoneyBetween(String value1, String value2) {
            return between(money, value1, value2);
        }

        public PayWxApplyExample.Criteria andMoneyNotBetween(String value1, String value2) {
            return notBetween(money, value1, value2);
        }
        public PayWxApplyExample.Criteria andTradeNoIsNull() {
            return isNull(tradeNo);
        }

        public PayWxApplyExample.Criteria andTradeNoIsNotNull() {
            return isNotNull(tradeNo);
        }

        public PayWxApplyExample.Criteria andTradeNoEqualTo(String value) {
            return equalTo(tradeNo, value);
        }

        public PayWxApplyExample.Criteria andTradeNoNotEqualTo(String value) {
            return notEqualTo(tradeNo, value);
        }

        public PayWxApplyExample.Criteria andTradeNoGreaterThan(String value) {
            return greaterThan(tradeNo, value);
        }

        public PayWxApplyExample.Criteria andTradeNoGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(tradeNo, value);
        }

        public PayWxApplyExample.Criteria andTradeNoLessThan(String value) {
            return lessThan(tradeNo, value);
        }

        public PayWxApplyExample.Criteria andTradeNoLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(tradeNo, value);
        }

        public PayWxApplyExample.Criteria andTradeNoLike(String value) {
            return like(tradeNo, value);
        }

        public PayWxApplyExample.Criteria andTradeNoNotLike(String value) {
            return notLike(tradeNo, value);
        }

        public PayWxApplyExample.Criteria andTradeNoIn(List<String> values) {
            return in(tradeNo, values);
        }

        public PayWxApplyExample.Criteria andTradeNoNotIn(List<String> values) {
            return notIn(tradeNo, values);
        }

        public PayWxApplyExample.Criteria andTradeNoBetween(String value1, String value2) {
            return between(tradeNo, value1, value2);
        }

        public PayWxApplyExample.Criteria andTradeNoNotBetween(String value1, String value2) {
            return notBetween(tradeNo, value1, value2);
        }
        public PayWxApplyExample.Criteria andWxNoIsNull() {
            return isNull(wxNo);
        }

        public PayWxApplyExample.Criteria andWxNoIsNotNull() {
            return isNotNull(wxNo);
        }

        public PayWxApplyExample.Criteria andWxNoEqualTo(String value) {
            return equalTo(wxNo, value);
        }

        public PayWxApplyExample.Criteria andWxNoNotEqualTo(String value) {
            return notEqualTo(wxNo, value);
        }

        public PayWxApplyExample.Criteria andWxNoGreaterThan(String value) {
            return greaterThan(wxNo, value);
        }

        public PayWxApplyExample.Criteria andWxNoGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(wxNo, value);
        }

        public PayWxApplyExample.Criteria andWxNoLessThan(String value) {
            return lessThan(wxNo, value);
        }

        public PayWxApplyExample.Criteria andWxNoLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(wxNo, value);
        }

        public PayWxApplyExample.Criteria andWxNoLike(String value) {
            return like(wxNo, value);
        }

        public PayWxApplyExample.Criteria andWxNoNotLike(String value) {
            return notLike(wxNo, value);
        }

        public PayWxApplyExample.Criteria andWxNoIn(List<String> values) {
            return in(wxNo, values);
        }

        public PayWxApplyExample.Criteria andWxNoNotIn(List<String> values) {
            return notIn(wxNo, values);
        }

        public PayWxApplyExample.Criteria andWxNoBetween(String value1, String value2) {
            return between(wxNo, value1, value2);
        }

        public PayWxApplyExample.Criteria andWxNoNotBetween(String value1, String value2) {
            return notBetween(wxNo, value1, value2);
        }
        public PayWxApplyExample.Criteria andRealPayMoneyIsNull() {
            return isNull(realPayMoney);
        }

        public PayWxApplyExample.Criteria andRealPayMoneyIsNotNull() {
            return isNotNull(realPayMoney);
        }

        public PayWxApplyExample.Criteria andRealPayMoneyEqualTo(String value) {
            return equalTo(realPayMoney, value);
        }

        public PayWxApplyExample.Criteria andRealPayMoneyNotEqualTo(String value) {
            return notEqualTo(realPayMoney, value);
        }

        public PayWxApplyExample.Criteria andRealPayMoneyGreaterThan(String value) {
            return greaterThan(realPayMoney, value);
        }

        public PayWxApplyExample.Criteria andRealPayMoneyGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(realPayMoney, value);
        }

        public PayWxApplyExample.Criteria andRealPayMoneyLessThan(String value) {
            return lessThan(realPayMoney, value);
        }

        public PayWxApplyExample.Criteria andRealPayMoneyLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(realPayMoney, value);
        }

        public PayWxApplyExample.Criteria andRealPayMoneyLike(String value) {
            return like(realPayMoney, value);
        }

        public PayWxApplyExample.Criteria andRealPayMoneyNotLike(String value) {
            return notLike(realPayMoney, value);
        }

        public PayWxApplyExample.Criteria andRealPayMoneyIn(List<String> values) {
            return in(realPayMoney, values);
        }

        public PayWxApplyExample.Criteria andRealPayMoneyNotIn(List<String> values) {
            return notIn(realPayMoney, values);
        }

        public PayWxApplyExample.Criteria andRealPayMoneyBetween(String value1, String value2) {
            return between(realPayMoney, value1, value2);
        }

        public PayWxApplyExample.Criteria andRealPayMoneyNotBetween(String value1, String value2) {
            return notBetween(realPayMoney, value1, value2);
        }
        public PayWxApplyExample.Criteria andPayUrlIsNull() {
            return isNull(payUrl);
        }

        public PayWxApplyExample.Criteria andPayUrlIsNotNull() {
            return isNotNull(payUrl);
        }

        public PayWxApplyExample.Criteria andPayUrlEqualTo(String value) {
            return equalTo(payUrl, value);
        }

        public PayWxApplyExample.Criteria andPayUrlNotEqualTo(String value) {
            return notEqualTo(payUrl, value);
        }

        public PayWxApplyExample.Criteria andPayUrlGreaterThan(String value) {
            return greaterThan(payUrl, value);
        }

        public PayWxApplyExample.Criteria andPayUrlGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(payUrl, value);
        }

        public PayWxApplyExample.Criteria andPayUrlLessThan(String value) {
            return lessThan(payUrl, value);
        }

        public PayWxApplyExample.Criteria andPayUrlLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(payUrl, value);
        }

        public PayWxApplyExample.Criteria andPayUrlLike(String value) {
            return like(payUrl, value);
        }

        public PayWxApplyExample.Criteria andPayUrlNotLike(String value) {
            return notLike(payUrl, value);
        }

        public PayWxApplyExample.Criteria andPayUrlIn(List<String> values) {
            return in(payUrl, values);
        }

        public PayWxApplyExample.Criteria andPayUrlNotIn(List<String> values) {
            return notIn(payUrl, values);
        }

        public PayWxApplyExample.Criteria andPayUrlBetween(String value1, String value2) {
            return between(payUrl, value1, value2);
        }

        public PayWxApplyExample.Criteria andPayUrlNotBetween(String value1, String value2) {
            return notBetween(payUrl, value1, value2);
        }
        public PayWxApplyExample.Criteria andApplyTimeIsNull() {
            return isNull(applyTime);
        }

        public PayWxApplyExample.Criteria andApplyTimeIsNotNull() {
            return isNotNull(applyTime);
        }

        public PayWxApplyExample.Criteria andApplyTimeEqualTo(Date value) {
            return equalTo(applyTime, value);
        }

        public PayWxApplyExample.Criteria andApplyTimeNotEqualTo(Date value) {
            return notEqualTo(applyTime, value);
        }

        public PayWxApplyExample.Criteria andApplyTimeGreaterThan(Date value) {
            return greaterThan(applyTime, value);
        }

        public PayWxApplyExample.Criteria andApplyTimeGreaterThanOrEqualTo(Date value) {
            return greaterThanOrEqualTo(applyTime, value);
        }

        public PayWxApplyExample.Criteria andApplyTimeLessThan(Date value) {
            return lessThan(applyTime, value);
        }

        public PayWxApplyExample.Criteria andApplyTimeLessThanOrEqualTo(Date value) {
            return lessThanOrEqualTo(applyTime, value);
        }

        public PayWxApplyExample.Criteria andApplyTimeIn(List<Date> values) {
            return in(applyTime, values);
        }

        public PayWxApplyExample.Criteria andApplyTimeNotIn(List<Date> values) {
            return notIn(applyTime, values);
        }

        public PayWxApplyExample.Criteria andApplyTimeBetween(Date value1, Date value2) {
            return between(applyTime, value1, value2);
        }

        public PayWxApplyExample.Criteria andApplyTimeNotBetween(Date value1, Date value2) {
            return notBetween(applyTime, value1, value2);
        }
        public PayWxApplyExample.Criteria andUserIdIsNull() {
            return isNull(userId);
        }

        public PayWxApplyExample.Criteria andUserIdIsNotNull() {
            return isNotNull(userId);
        }

        public PayWxApplyExample.Criteria andUserIdEqualTo(Long value) {
            return equalTo(userId, value);
        }

        public PayWxApplyExample.Criteria andUserIdNotEqualTo(Long value) {
            return notEqualTo(userId, value);
        }

        public PayWxApplyExample.Criteria andUserIdGreaterThan(Long value) {
            return greaterThan(userId, value);
        }

        public PayWxApplyExample.Criteria andUserIdGreaterThanOrEqualTo(Long value) {
            return greaterThanOrEqualTo(userId, value);
        }

        public PayWxApplyExample.Criteria andUserIdLessThan(Long value) {
            return lessThan(userId, value);
        }

        public PayWxApplyExample.Criteria andUserIdLessThanOrEqualTo(Long value) {
            return lessThanOrEqualTo(userId, value);
        }

        public PayWxApplyExample.Criteria andUserIdIn(List<Long> values) {
            return in(userId, values);
        }

        public PayWxApplyExample.Criteria andUserIdNotIn(List<Long> values) {
            return notIn(userId, values);
        }

        public PayWxApplyExample.Criteria andUserIdBetween(Long value1, Long value2) {
            return between(userId, value1, value2);
        }

        public PayWxApplyExample.Criteria andUserIdNotBetween(Long value1, Long value2) {
            return notBetween(userId, value1, value2);
        }
        public PayWxApplyExample.Criteria andErrReasonIsNull() {
            return isNull(errReason);
        }

        public PayWxApplyExample.Criteria andErrReasonIsNotNull() {
            return isNotNull(errReason);
        }

        public PayWxApplyExample.Criteria andErrReasonEqualTo(String value) {
            return equalTo(errReason, value);
        }

        public PayWxApplyExample.Criteria andErrReasonNotEqualTo(String value) {
            return notEqualTo(errReason, value);
        }

        public PayWxApplyExample.Criteria andErrReasonGreaterThan(String value) {
            return greaterThan(errReason, value);
        }

        public PayWxApplyExample.Criteria andErrReasonGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(errReason, value);
        }

        public PayWxApplyExample.Criteria andErrReasonLessThan(String value) {
            return lessThan(errReason, value);
        }

        public PayWxApplyExample.Criteria andErrReasonLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(errReason, value);
        }

        public PayWxApplyExample.Criteria andErrReasonLike(String value) {
            return like(errReason, value);
        }

        public PayWxApplyExample.Criteria andErrReasonNotLike(String value) {
            return notLike(errReason, value);
        }

        public PayWxApplyExample.Criteria andErrReasonIn(List<String> values) {
            return in(errReason, values);
        }

        public PayWxApplyExample.Criteria andErrReasonNotIn(List<String> values) {
            return notIn(errReason, values);
        }

        public PayWxApplyExample.Criteria andErrReasonBetween(String value1, String value2) {
            return between(errReason, value1, value2);
        }

        public PayWxApplyExample.Criteria andErrReasonNotBetween(String value1, String value2) {
            return notBetween(errReason, value1, value2);
        }
        public PayWxApplyExample.Criteria andStatusIsNull() {
            return isNull(status);
        }

        public PayWxApplyExample.Criteria andStatusIsNotNull() {
            return isNotNull(status);
        }

        public PayWxApplyExample.Criteria andStatusEqualTo(Integer value) {
            return equalTo(status, value);
        }

        public PayWxApplyExample.Criteria andStatusNotEqualTo(Integer value) {
            return notEqualTo(status, value);
        }

        public PayWxApplyExample.Criteria andStatusGreaterThan(Integer value) {
            return greaterThan(status, value);
        }

        public PayWxApplyExample.Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            return greaterThanOrEqualTo(status, value);
        }

        public PayWxApplyExample.Criteria andStatusLessThan(Integer value) {
            return lessThan(status, value);
        }

        public PayWxApplyExample.Criteria andStatusLessThanOrEqualTo(Integer value) {
            return lessThanOrEqualTo(status, value);
        }

        public PayWxApplyExample.Criteria andStatusIn(List<Integer> values) {
            return in(status, values);
        }

        public PayWxApplyExample.Criteria andStatusNotIn(List<Integer> values) {
            return notIn(status, values);
        }

        public PayWxApplyExample.Criteria andStatusBetween(Integer value1, Integer value2) {
            return between(status, value1, value2);
        }

        public PayWxApplyExample.Criteria andStatusNotBetween(Integer value1, Integer value2) {
            return notBetween(status, value1, value2);
        }
    }
}